

#include<string>
#include <iostream>
#include "class_factory.h"

using namespace std;


int main ()
{
  Rectangle r("test",25.98,26.11);

  cout << "长方形"<<r.getId()<<"的面积:" << r.area()<< endl;
}